package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业被执行人
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_ajsx_qybzxr")
@ApiModel(value="ZbAsAjsxQybzxrEntity对象", description="企业被执行人")
public class ZbAsAjsxQybzxrEntity extends Model<ZbAsAjsxQybzxrEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "SERIALNO", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "企业名称")
    @TableField("ENTNAME")
    private String entname;

    @ApiModelProperty(value = "被执行人姓名/名称")
    @TableField("PNAME")
    private String pname;

    @ApiModelProperty(value = "案号")
    @TableField("CASECODE")
    private String casecode;

    @ApiModelProperty(value = "执行法院")
    @TableField("EXECCOURTNAME")
    private String execcourtname;

    @ApiModelProperty(value = "执行标的")
    @TableField("EXECMONEY")
    private String execmoney;

    @ApiModelProperty(value = "身份证号码/组织机构代码")
    @TableField("PARTYCARDNUM")
    private String partycardnum;

    @ApiModelProperty(value = "立案时间")
    @TableField("CASECREATETIME")
    private String casecreatetime;

    @ApiModelProperty(value = "执行状态")
    @TableField("PERFORMANCE")
    private String performance;

    @ApiModelProperty(value = "首次采集日期")
    @TableField("INPUTTIME")
    private String inputtime;

    @ApiModelProperty(value = "最新更新日期")
    @TableField("UPDATETIME")
    private String updatetime;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
